import axios from "axios";
import qs from 'qs'
//未登录
 let icon=()=>{
    let url='api/bottomNav/getBottomNavigation.action?_format_=json&isNewVersion=1&curtainVersion=null&t=0.7023775035286617'
   return axios.get(url)
 }
 //登录
 let login=()=>{
     let data={
        _format_: json,
        isNewVersion: 1,
        curtainVersion: null,
        t: 0.1571528110101006,
     }
     var dataObj = qs.stringify(dat);
    let urllogin='api/bottomNav/getBottomNavigation.action'
   return axios({
       method:"get",
       url:urllogin,
       data:{
           
        referer: 'https://home.m.jd.com/',
       },
       Headers:{"Conyent-Type":"application/json"}
   })
 }
export {icon,login}